import Vue from 'vue'
import VueI18n from 'vue-i18n'
import zhCN from '@/lang/zhCN.js'
import enUS from '@/lang/enUS.js'
import esES from '@/lang/esES.js'

Vue.use(VueI18n)

export default new VueI18n({
	locale: 'zhCN',
	fallbackLocale: 'zhCN',
	silentFallbackWarn: true,
	messages: {
		zhCN: { messages: zhCN },
		enUS: { messages: enUS },
		esES: { messages: esES },
	},
})
